using System.Windows.Forms;

namespace FluentBinding.WinForms
{
    /// <typeparam name="E">Type of the root entity</typeparam>
    /// <typeparam name="P">Type of the property in the data-bound control</typeparam>
    public interface ISupportUpdateMode<E, P>
    {
        #region Public methods

        IPropertyBinding<E, P> WithDataSourceUpdateMode(DataSourceUpdateMode updateMode);

        #endregion
    }
}